package com.njzxw.fs.sql.repository;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface BackReq {

    String version();

    List<Map<String,Object>> tables(@Param("insertTableName") List<String> insertTableName);

    List<Map<String,Object>> procs(@Param("tableName") List<String> tableName);

    Map<String, Object> showTable(@Param("tableName") String tableName);

    Map<String, Object> showPROCEDURE(@Param("tableName") String tableName);

    Map<String, Object> showFUNCTION(@Param("tableName") String tableName);


    List<Map<String,Object>> showColom(@Param("table_name")String table_name);

    List<Map<String,Object>> getData(@Param("tablename")String tablename);

}
